package com.demo;

import com.control.MainControl;
import com.model.Config;
public class Demo {
	private static Config app_config;
	public static void main(String[] args) throws Exception {
		String path=System.getProperty("user.dir")+"/config.xml";
		System.out.println(path);
		app_config=new Config(path);
		MainControl app=new MainControl();
		app.work();
	}
	public static Config getConfig()
	{
		return Demo.app_config;
	}
}
